<?php
require_once('./main.php');

$result = pg_exec($db_connection, "SELECT * FROM ae_user");

while ($row = pg_fetch_assoc($result)) {
	print_r($row);
}